Look for empty_spaces into data object.

Signed-off-by: Patricio Reboratti <darthpolly@gmail.com>