Fix overriding of issue status. Close #490.
Forgot to commit...
Fix overriding for the pulls also
Merge pull request #499 from joomla/issue-490

Fix overriding of issue status