Simply ignore values that return no data from the database

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>