you don't need to check for empty here, will_paginate will do so