! mask col was missing from the query, resulting in undefined index errors

Signed-off-by: Spuds <spuds@spudsdesign.com>