[BUGFIX] Add missing where clause in simplePrevNextVH

Change-Id: Ifdf09b815b351d87d280dcdce91a2df8836b0802
Reviewed-on: https://review.typo3.org/30736
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer