Fixing bug on attachment posts pagination where post status inherit was not being sent to query, also fixing title filter not being run on ajax requests