[ticket/13188] Add missing where clause to post_id query in sphinx index

https://tracker.phpbb.com/browse/PHPBB3-13188