BUGFIX: Getting an empty partition would return all rows