Fix mask points

This had implications in that the mask points filter was complete unusable and would crash the app.  The test_labels integration test was also failing/crashing and is fixed.