Fixed issues with Logical Atom