Mvc\Models\Post: added attachment query fixes