Joomla is correctly detecting when a page is not found, and redirects me to the error page I have setup. Unfortunately, I've found that the error code being returned is a `500`, instead of a 404, and this is coming from Joomla. 

**Is there a way to get Joomla to return a `404` in this case?**