added non-vectorised logical and null and na checkers