Study of systematics in anisotropy searches with AMS-02