Fix bug dealing with complexes
Fix bug dealing with complexes

johnbachman/belpy,pvtodorov/indra,sorgerlab/belpy,sorgerlab/indra,bgyori/indra,pvtodorov/indra,jmuhlich/indra,johnbachman/indra,sorgerlab/belpy,jmuhlich/indra,johnbachman/indra,pvtodorov/indra,sorgerlab/indra,johnbachman/indra,jmuhlich/indra,sorgerlab/indra,pvtodorov/indra,johnbachman/belpy,bgyori/indra,johnbachman/belpy,bgyori/indra,sorgerlab/belpy