less code, less database requests, more speed

Signed-off-by: Patrick Konstandin <support@flatfiler.de>