Identifying adaptive footprints in the presence of demographic uncertainty | Synapse