Fix combination childSelector - alignLastPage

Fixes issue with alignLastPage when a childSelector has been defined